added support for displaying the search term on the results page