edited the results page and added some associations to the model