fix registration form and template