[Fixes #18] Added support for logging search queries.
Merge pull request #22 from niravthaker/master

[Fixes #18] Added support for logging search queries.