removed some testing code that didnt work, added building websockets for chat, added listening to messages on socket