added clear_classes for a student