create login and register page