register form validations fixed