laravel check auth before submitting button code example Example: laravel auth //namespace use Illuminate\Support\Facades\Auth;