changed structure of SearchController
removed ~ from router version
added todo, removed comment