updating registrations view to allow for teacher and student registrations