Register validation