renaming variables $student to $students
getAllInstructors, getAllStudents and getAllStudentsByClassID have return fuctions