added endAll command to delete all sessions