if (urlStr.contains("/person/update/password/")) { //special case: update password
WordPressUserPojo user = new WordPressUserPojo();
WordPressAuthPojo auth = new WordPressAuthPojo();
user.setWPUserID(wpuser); // (this is ignored if a normal user is logged in)
auth.setPassword(wpauth);
wpuser = user.toApi();
wpauth = auth.toApi();
}
else if (urlStr.contains("/person/update/email/")) { //special case: update email
WordPressUserPojo user = new WordPressUserPojo();
WordPressAuthPojo auth = new WordPressAuthPojo();