add basic search by last name function.
added pagination, fixed a bit of filtering.