<header>
  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" href="/"> World Wines </a>
    <div class="navbar">
      <div class="navbar-nav">
        <a class="nav-link active" href="/">
          Home <span class="sr-only">(current)</span>
        </a>
        <a class="nav-link" href="#"> Search Wines </a>

        <a class="nav-link" href="tasters"> Tasters</a>
        <a class="nav-link" href="tastings"> Tastings</a>
        <% if(user) { %>
        <a class="nav-link" href="create-tasting"> Write a Review </a>
        <a class="nav-link" href="logout"> <%= user.email %> (Logout) </a> <%
        }%> <% if(!user) { %>
        <a class="nav-link" href="login"> Login </a>
        <a class="nav-link" href="join"> Register </a>
        <% } %>
      </div>
    </div>
  </nav>
</header>
;
