added team deletion functionality