implemented the first iteration of the search details page