Mash up of the socket.io chat example with a passport.js authentication example
http://socket.io/get-started/chat/
https://scotch.io/tutorials/easy-node-authentication-setup-and-local
using a little bit of passport.socketio https://www.npmjs.com/package/passport.socketio