implemented add teacher