Add session regenerate feature