Changed json response to include sessions object in Appery.