fixed LogIn issue