added search box functionality to mainmasterpb and homepage2