added a registrations controller