the proplem is that your user model is in under App/Model namespace
So you must update auth.php file as below
'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\Model\User::class, ],
],
it will work fine