registration validation changes

registration validation changes