Changes on the login
Revert login function