fixed bad argument
rewrote socket.io event handlers for many params. have fun with this one janka