Add delete functionality for teams (2nd part)