generated a registrations controller