teacher registration controller