init socket.io vars
setting up basic functions for socket.io server
adding name assignment