login.js needs to be included after socket.io.js. Whether in layout or index.jade doesn't matter to me, but I've put them both in layout.jade for now. io should now work properly
Merge branch 'master' of https://github.com/UManitobaOcho/OchoServer