login and register page update