      <!-- Sidebar user panel (optional) -->
      <?php
        $filter = ['token'=>$_COOKIE['econtoken']];
        $result = $auth->getApiDataFilter("get/user",$filter);
        $user = $result[0];
        //print_r($result);
      ?>
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="info">
          <a href="#" class="d-block"><?php echo $user->lastName." ".$user->firstName ?></a>
          <p style="color:white"><?php echo getAccessLevels($user->accesslevel);?></p>
        </div>
      </div>