Created autoconfiguration method and changed startup sequence
Removed trusted_domain check every trusted_domain related error will be managed over ssh connection