Updated logging from Bank and some session handling for invoices