Added getTeams in dao and rest