Getting password and username from popup.