added window.open as twitter sign-in hack