sadikb,
Actually the two solutions proposed aren't that much different anyway. Whether you extend one function in the DataWriter or one function in the Controller it's the same difference.
In many ways, my solution will ultimately be less complicated.
With your solution you have to handle the instance where the user could encounter an error (mismatched passwords, CAPTCHA failure etc.). With my solution, it will only execute once the record is inserted and the user has definitely been created.
Actually the two solutions proposed aren't that much different anyway. Whether you extend one function in the DataWriter or one function in the Controller it's the same difference.
In many ways, my solution will ultimately be less complicated.
With your solution you have to handle the instance where the user could encounter an error (mismatched passwords, CAPTCHA failure etc.). With my solution, it will only execute once the record is inserted and the user has definitely been created.