merge login and register page