switched to atomic storage of session data