UI for login and register page