added search mechanism and search result activity