fixed validation errors
edited registrations controller