change user_transactions to accept a hash of values