anchor.diff:              var usersList = null;
               var itemsPerPage = 15;
               var current = 0;
  +            var filterLength = 0;
   
  -            var populateTable = function(users, page, itemsPerPage) {
  +            var populateTable = function(users, page, itemsPerPage, filterLength) {
                   $("#usersListMain").html("");
  -                for (var i = page * itemsPerPage; i < page * itemsPerPage + itemsPerPage && i < users.length; ++i) {
  +
  +
  +                var itemsInPage = 0;
  +                for (var i = page * itemsPerPage;  itemsInPage < itemsPerPage && i < users.length; i++) {
  +
  +                    // aoci
  +                    if (filterLength !== 0 && users[i].username.length != filterLength) {
  +                        continue;
  +                    }
  +
                       $("#usersListMain").append(
                           '<tr>' +
                           '<td>' + users[i].username + '</td>' +
  -                            '<td> <button type="button" id="' + users[i].username + '" class="btn btn-danger banIt"> Ban </button> </td>' +
  +                        '<td> <button type="button" id="' + users[i].username + '" class="btn btn-danger banIt"> Ban </button> </td>' +
                           '</tr>'
                       );
  +
  +                    itemsInPage++;
                   }
               }
   
  
positive.code:                 $.post("/getUsersList", {}, function (data) {
                      usersList = JSON.parse(data);
  
                      populateTable(usersList, current, itemsPerPage);
                  });
              }
              getData();
  
negative.code:                 if ((current + 1) < usersList.length / itemsPerPage) {
  
                      current++;
                      populateTable(usersList, current, itemsPerPage, filterLength)
                  }
              });
  
  