Classification model challenge
If you want to use only time of login and place of login, there are several models that would do the work. 
Take a look at Python's Sklearn. It offer lots of different options.
An example one is random forest: https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html

Normally you don't event need to understand the model under the hood to be able to use it, so no need to feel intimidated by the names