Added check for excessively long usernames.