made the new registration template to work