@if (Route::has('login')) @auth @else @if (Route::has('register')) @endif @endauth @endif