@if (Auth::guest())
@yield('content')
@else @include('layouts.header')
@include("layouts.nav")
@if(Session::has('success'))
{{ Session::get('success') }}
@endif @if(Session::has('error'))
{{ Session::get('error') }}
@endif @yield('breadcrumb')
@yield('content')
@endif @yield('assets')