change validate account name to validate account instead