added search controller and search by coountry functionality