fix Login&Register