save chat history over a session