I would agree with Richard. If your teachers can change user names then I would check your role assignments as by default they aren't allowed to change user names and users themselves aren't allowed to change user names once the account has been created.
Roles and permissions
Prevent users from changing usernames
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.