Rewrite head teacher registration

Boom. So much cleaner. :+1: