Do not insert user in database if activation email cannot be sent
Add 'useActivationCode' boolean parameter. If set to false, user are registered without activation code