added functionality to team page