added kioskSessionDomApi, exposing session management methods to the DOM