updated view_courses to show start and end dates