fixing the login