use public api for session access from server container