updated to use ring-defaults to set session parameters