add_user_id_to_transactions