Using redis to save the history
define max-height to chat box