fix log in problem