registration validation changes