adding history to chat room