API: Added calls for get courses for students and instructors