refactor param reset  to renew
more refinements on session id