getting the courses from the API done.