Add pagination and sorting to the dashboard