@Override
 public void parseResult(String result) {
   try {
     AuthInfo mAuthInfo = new AuthInfo(new JSONObject(result));
     receiver.onReceiveAuthentication(mAuthInfo);
   } catch (JSONException e) {
     Log.e(TAG, "AuthParser JSON exception");
     e.printStackTrace();
     receiver.onError(e);
   }
 }
 @Override
 public void onError(Exception error) {
   Log.e(TAG, "AuthParser of JSONParserInterface exception");
   receiver.onError(error);
 }