Add method to retrieve the search term entered by the user

I have a scenario where I require the search term that the user has entered, this requires a new accessor method!