added socket.io, and put passport auth into middleware