implemented post searching