added search action in flights controller