trying to do the model login