@Override
 public String getLoginURL() {
   if (isNewHotmailVersion) {
     return newImporter.getLoginURL();
   } else {
     return oldImporter.getLoginURL();
   }
 }
  @Override
  protected void login(WebClient client)
      throws ContactListImporterException, IOException, URISyntaxException, InterruptedException,
          HttpException {
    newImporter.login(client);

    // now check the version
    if (getWebClient().getCurrentUrl().contains("TodayLight.aspx")) {
      // aha we're on the new page
      isNewHotmailVersion = true;

    } else {
      // we have the old version
      isNewHotmailVersion = false;
      oldImporter = new OldHotmailImporter(this.getUsername(), this.getPassword());
      oldImporter.setWebClient(getWebClient());
    }
  }