Refactored and redesigned the course page