bring current user into the model to check transaction error