refactored courseId added missed sessions filter