added search,edit and generate report view and functionality