added query to users for specific invoices