added validations to sign up form