added trivial session creation and retrival