add getCourses method in Student model