Finish hooking in socket.io