Set the base url for the account module.
Use ModelValidation result for error handling in account module.