get transaction from IdentitySession when transaction is null