grabbing the courses from user