modified registration template to use forms