updated account-template missing fix
fixed possible crash in checkCredentials