Added pagination for tickets