fix the popup problem and implement the pinless sign in for web app