improvements to registration and verification handling.