add auth to controller code example Example: artisan make auth composer require laravel/ui php artisan ui vue --auth