add template for register page