generalization of pages management for teachers