anchor.diff:  
           <div class="col-sm-6">
               <p class="text-center"> Lista paginata cu useri </p>
  +            <input type="text" id="filterLength" class="form-control" placeholder="nr chars"/>
  +            <button type="button" id="filter" class="btn btn-success">
  +                filter
  +            </button>
  +
  +            <button type="button" id="reset" class="btn btn-success">
  +                reset
  +            </button>
  +
               <table id="users" class="table table-striped table-bordered" cellspacing="0" width="100%">
                   <thead>
                   <tr>
  
positive.code: 
                  if (current > 0) {
                      current--;
                      populateTable(usersList, current, itemsPerPage)
                  }
              });
  
  
negative.code:                 $.post("/getUsersList", {}, function (data) {
                      usersList = JSON.parse(data);
  
                      populateTable(usersList, current, itemsPerPage, filterLength);
                  });
              }
              getData();
  