search for course and enrolled ins works