make leave delete the session thing