added added functionality to view/add invoices/invoice details