added forgotten files and fixed up session in invoices