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

@auth Welcome, {{ Auth::user()->name }}

@csrf
{{ $result_chat }} {{ $result_error }}
@else Welcome, login to view your dashboard. @endauth