submit isteacher method