Added view decorator to verify course_id.