Chat with websockets
Refactor chat functions
Refactor chat functions