needed a transaction for user creation