refactored course registrations index