Fix addTeacher API