introduced redis into the message handling