load chat history in home page