Added name validation
When in mojang offline mode