First stages of SessionKey storage implemented