Transactions now written to firebase