Thanks a lot, that’s exactly what I was looking for. It really help me out.
There is one little thing: now there is written that the account is now activated and that it will be activated when the user clicks on the link sent by mail. Do you know how to remove the second sentence?