adding edit functionality to team page and adding other items to comments