added validations to sign in