adding teacher to db