added first version of getAppUserToken()