Using some basic socket.io functionality