Can leave teams

team will be deleted when the manager leaves, in the future will change
behavior so that someone else can become the manager