Adds pagination to users view.