validation for register
validation in progress