Node.js - socket.io based chat utilizing redis for pubsub as well as managing sessions and persistence