Code
Put in the user and the password:
In the case of new registration to complete the apposite module with the personal data for to get the password.