added APIAppSession