rudimentary socketio controller