Update on the login controller