repair the login