fixed validation on sign in