update the login page