clean up the login page