error validationn on login and null check on setupWizard