Prevents users from entering a username longer than MAXNAMELENGTH