@if(Auth::user()) @endif @if(Session::has('_alert')) @php list($type,$message) = json_decode(Session::get('_alert')); Session::forget('_alert'); @endphp @endif