Added a accessor for the sessionId class member in the Resource server