adding limit to publish publication, and adding query call in the client as well for 'insta search'