added pagination to the manager and reseller pages and sort buttons