added index method for enrollmentscontroller