implemented search n category pages