implemented searh on the home page