added the teacher get messages, fixed a few things