Added functionality for course page.