simplifying api by removing sessionId