front and register page