done on teacher registration validation