added getTeams to DBManager