addin validation and for the registration form