chathistory module : it records chat history of individual IDs