probably because Auth is not defined. <a class="nav-link" href="{{ Auth::logout() }}">Sign out</a> change to: <a class="nav-link" href="{{ URL::to('logout') }}">Sign out</a>