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