Adding session management skeleton.