fix courses page for anonymous user