added teacher all classes for all pages