Added code to fetch course data for Assignment Viewing