Added get_course_ids_and_names_all_subjects function