Do not clear chat history when navigating between pages or page refresh. It should be cleared only when user uses a clear button.