validations modified to registration