Security changes for team page