Added validations to the sign up page.