added validations to sign up and pins