add transaction to User model
make user model spec