Add pagination, searching and sorting