add soldier to session and  make flush func save it .