Resonances and Correlations in heavy ion collisions