<nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" href="/">Exploratory Testing</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
      
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav mr-auto">
        <li class="nav-item">
          <a class="nav-link" id="home" href="/">Home <span class="sr-only">(current)</span></a>
        </li>
        <li class="nav-item">
          <a class="nav-link" id="download" href="/download">Download </a>
        </li>
        <% if (account.jwt && account.username) { %>
        <li class="nav-item">
          <a class="nav-link" id="dashboard" href="/account/account">Dashboard</a>
        </li>
        <% } %>
        <li class="nav-item">
          <a class="nav-link" id="us" href="/us">About Us </a>
        </li>
      </ul>
      <ul class="navbar-nav">
        <% if (account.jwt && account.username) { %>
          <li class="nav-item" >
            <a class="nav-link" id="account" href="/account/account"><%= account.username %></a>
          </li>  
          <li class="nav-item">
            <a class="nav-link" id="nav-signin" href="/account/signout"><i class="fas fa-sign-out-alt"></i></a>
          </li>
        <%} else { %>
          <li class="nav-item">
            <a class="nav-link" id="nav-signup" href="/account/sign"><i class="fas fa-user-plus"></i></a>
          </li>
        <%} %>
          
      </ul>
    </div>
  </nav>