Fix Allow Only two names in "Avatar Name".

code fix added in register.cs