simplifying API by removing sessionId