@if (Route::has('auth.show'))
@auth
Logout
@else
Login
@endauth
@endif
Laravel