fixed error message in login