add the chat logging feature
sanitize message