added pagination to ticket index