I'm new to laravel framework and trying to implement login system to my website. My web site has a landing page. Base on user login status I need to change this links like bellow.

```
<ul class="secondary_menu">
  @if(Auth::guard('customer')->check())
  <li><a href="{{url('/logout')}}" >Logout</a></li>
  @else
  <li><a href="{{url('/login')}}" >Login or Register</a></li>
  @endif
</ul> 

```

Here's the controller responsible for loading this view

```
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Http\Requests;

class CustomerController extends Controller
{
    public function index()
    {
        return view('public.index');
    }

}

```

I'm getting an error that saying that `Class 'Auth' not found`

I try adding `use Auth` and `use \Auth` as suggested in other slimier kind of questions in stackoverflow but did not works for me. What am i doing wrong. Isn't is possible to check call `Auth` from view ?