added session storage of key/secrets back