renderingCourses was added to main page