validate register information