edit login and register page