Removed duplicated has_course_access