removed api call deleteSession