Popup login fix