```php
if (!($bk=static::getBackend($id))
        || !$bk->validate($auth))
    return false;

$bk->logout($staff);
```

But it looks like `AuthenticationBackend::logout()` is not defined