add groups to teams, improve some flash msgs