Simple example node.js app using Express, MongoDB, and Socket.io that demonstrates logging into Express and using the session to authenticate Socket.io. This can surely be improved, and the code is not production ready.