[MODIFIED] socketio service