get course by name and not all courses at once