updated snippet "saving msg from chat on server"
updated chat snippets