save chat history

DB chat history