Adding more docs and behavior to chat server