added the template for registration and the url mapping