public static ToodleDoUser getToken(ToodleDoUser a_oUser)
     {
    	 System.out.println("Looking up token...");
         
          
    	 
    	 
    	 String sURL = "http://api.toodledo.com/2/account/token.php?";
          
          Hashtable htParameters = new Hashtable();
          
          htParameters.put("userid", a_oUser.getUserid());
          htParameters.put("appid", APPID);
          htParameters.put("sig", Utility.createMD5Hash(a_oUser.getUserid() + TOKEN));   
          
          StringBuffer sbResp = makeRequest(sURL, htParameters);
          
          Gson gson = new Gson();
          a_oUser = gson.fromJson(sbResp.toString(), org.zechariahs.toodledoapi.pojo.ToodleDoUser.class);
          
          if(a_oUser.getToken() != null && a_oUser.getToken().length() > 0)
          {
        	  
        	  System.out.println("Token:" + a_oUser.getToken());
        	  
        	  // Set token to expire in 4 hours. (4 hours = 1000 milliseconds * 60 seconds * 60 minutes * 4 hours)
        	  a_oUser.setTokenExpiration(System.currentTimeMillis() + 1000 * 60 * 60 * 4);
        	  
        	  a_oUser = populateKey(a_oUser);
        	  
          }
          
          return a_oUser;
          
     }