modify login and register page