added message history with redis