templater for registration