change the login model