adding pagination to Invoices