added registerPayment to users.