Implement retrieving name and years from course id