anchor.diff:                  <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
                   <div class="collapse navbar-collapse navbar-ex1-collapse">
                       <ul class="nav navbar-nav side-nav">
  -                        <li>
  -                            <a href="javascript:;" data-toggle="collapse" data-target="#emp"><i class="fa fa-fw fa-home"></i> Empresas <i class="fa fa-fw fa-caret-down"></i></a>
  -                            <ul id="emp" class="collapse">
  -                                <li>
  -                                    <a href="${pageContext.request.contextPath}/bootstrap/empresa.jsp">Cadastro</a>
  -                                </li>
  -                                <li>
  -                                    <a href="${pageContext.request.contextPath}/bootstrap/buscarEmpresa.jsp">Buscar</a>
  -                                </li>
  -                            </ul>
  -                        </li>
  +                        <c:if test="${not empty sessionScope.usuAutenticado && sessionScope.usuAutenticado.temPapel('Admin') && sessionScope.usuAutenticado.temEmpresa('matriz')}">
  +                            <li>
  +                                <a href="javascript:;" data-toggle="collapse" data-target="#emp"><i class="fa fa-fw fa-home"></i> Empresa <i class="fa fa-fw fa-caret-down"></i></a>
  +                                <ul id="emp" class="collapse">
  +                                    <li>
  +                                        <a href="${pageContext.request.contextPath}/bootstrap/empresa.jsp">Cadastro</a>
  +                                    </li>
  +                                    <li>
  +                                        <a href="${pageContext.request.contextPath}/bootstrap/buscarEmpresa.jsp">Buscar</a>
  +                                    </li>
  +                                </ul>
  +                            </li>
  +                        </c:if>
                           <li>
                               <a href="javascript:;" data-toggle="collapse" data-target="#prod"><i class="fa fa-fw fa-book"></i> Produto <i class="fa fa-fw fa-caret-down"></i></a>
                               <ul id="prod" class="collapse">
  +                             <c:if test="${not empty sessionScope.usuAutenticado  && sessionScope.usuAutenticado.temEmpresa('matriz')}">
                                   <li>
                                       <a href="${pageContext.request.contextPath}/bootstrap/produto.jsp">Cadastro</a>
                                   </li>
  +                                </c:if>
                                   <li>
                                       <a href="${pageContext.request.contextPath}/bootstrap/buscarProduto.jsp">Buscar</a>
                                   </li>
                               </ul>
                           </li>
  -                        <li>
  -                            <a href="javascript:;" data-toggle="collapse" data-target="#usu"><i class="fa fa-fw fa-user"></i> Usuario <i class="fa fa-fw fa-caret-down"></i></a>
  -                            <ul id="usu" class="collapse">
  -                                <li>
  -                                    <a href="${pageContext.request.contextPath}/bootstrap/usuario.jsp">Cadastro</a>
  -                                </li>
  -                                <li>
  -                                    <a href="${pageContext.request.contextPath}/bootstrap/buscarUsuario.jsp">Buscar</a>
  -                                </li>
  -                            </ul>
  -                        </li>
  +                        <c:if test="${not empty sessionScope.usuAutenticado && sessionScope.usuAutenticado.temPapel('Admin')}">
  +                            <li>
  +                                <a href="javascript:;" data-toggle="collapse" data-target="#usu"><i class="fa fa-fw fa-user"></i> Usuario <i class="fa fa-fw fa-caret-down"></i></a>
  +                                <ul id="usu" class="collapse">
  +                                       
  +                                    <li>
  +                                        <a href="${pageContext.request.contextPath}/bootstrap/usuario.jsp">Cadastro</a>
  +                                    </li>
  +
  +                                    <li>
  +                                        <a href="${pageContext.request.contextPath}/bootstrap/buscarUsuario.jsp">Buscar</a>
  +                                    </li>
  +                                </ul>
  +                            </li>
  +                        </c:if>
                           <li>
                               <a href="javascript:;" data-toggle="collapse" data-target="#cli"><i class="fa fa-fw fa-users"></i> Cliente <i class="fa fa-fw fa-caret-down"></i></a>
                               <ul id="cli" class="collapse">
  
positive.code:                 <ul class="nav navbar-right top-nav">
                      <li class="dropdown">
                          <c:if test="${not empty sessionScope.usuAutenticado}">
                              <a href="#" ><i class="fa fa-home"></i> ${usuAutenticado.nome}</a>
                          <li class="dropdown">
                              <a href="#"><i class="fa fa-gear"></i> ${sessionScope.usuAutenticado.tipoAcesso}</a>
                          </li>
  
negative.code:             </c:choose>
  
              <!-- Navigation -->  
                       <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
                  <!-- Brand and toggle get grouped for better mobile display -->
                  <div class="navbar-header">
                      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  