fixing search view and adding datatables to display candidates