Add userId in transactions