Added code to results page to display database results (unfinished)