Learning to do user authentication using node.js, redis, socket.io, and passport