progress on sending date params to the backend and make the query respond to them