listCourses working