Rewrite head teacher registration