logIn fixed