better error messages for teacher,categories,students,quotes