add validation to sign in