Add loading variable to Transactions controller