Added functionality to delete team