Anbu:Updating validation in registration