Implement pagination for `/firms' and `/jobs'