Added functions to handle the search result.
Handling search term and sending search request to doku.