Added a way to reset a session