user input checks, socket.io implementation