Fixed indentation, added socket.io and primitive authentication