Added paging and sorting for user view