minor security fixes
team page fix