WIP: Use socketio events