modified controller search.wsgi