User restrictions for students and teachers