Courses, course, lesson working but not with page refresh