<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">MeanBean</a>
        </div>
        <div class="collapse navbar-collapse" id="myNavbar">
            <ul class="nav navbar-nav">
                {% if session.UserID > 0 %}
                <li><a href="/accounting">Accounting</a></li>
                <li><a href="/customers/add">New Customer</a></li>
                <li><a href="/search">Search</a></li>
                {% endif %}
            </ul>
            <ul class="nav navbar-nav navbar-right">
                {% if session.UserID > 0 %}
                <li><a href="/logout"><span class="glyphicon glyphicon-log-in"></span> Log Out</a></li>
                {% else %}
                <li><a href="/login"><span class="glyphicon glyphicon-log-in"></span> Log In</a></li>
                {% endif %}
            </ul>
        </div>
    </div>
</nav>

<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">MeanBean</a>
        </div>
        <div class="collapse navbar-collapse" id="myNavbar">
            <ul class="nav navbar-nav">
                {% if session.UserID > 0 %}
                {% if session.Admin > 0 %}
                <li><a href="/accounting">Accounting</a></li>
                {% endif %}
                <li><a href="/customers/add">New Customer</a></li>
                <li><a href="/search">Search</a></li>
                {% endif %}
            </ul>
            <ul class="nav navbar-nav navbar-right">
                {% if session.UserID > 0 %}
                <li><a href="/logout"><span class="glyphicon glyphicon-log-in"></span> Log Out</a></li>
                {% else %}
                <li><a href="/login"><span class="glyphicon glyphicon-log-in"></span> Log In</a></li>
                {% endif %}
            </ul>
        </div>
    </div>
</nav>

Hide Accounting menu from non-admins
Hide Accounting menu from non-admins
