Added the validation of accounts; only validated accounts can sign-in or view locked-down pages.