Saving the messages in the chat model
UI fixes for the nodejs chat