Fixed errors length check, prevent usernames from being emails