laravel if logged in else redirect code example Example: laravel 7 auth composer require laravel/ui php artisan ui vue --auth