add tag functionality to search box