Validate Registration page

add validation on Registration page
Merge with Poona's Code.

Merge with Poona's Code.