charhistory module : it records chat history of individual IDs