added popup window for login flow