fixed password and email login