laravel on boot associate users with role based on email code example Example: laravel auth // Laravel 5.x php artisan make:auth