adjusted validation to work with lowercased account names