add login model to log in