Initial
Added socket.io support, fixed bugs, added tokens for registering