registration validation.