fixes on sign in polling issue