added the method that will automatically process all chat messages entered into chat.