first working version in the server, now with the filter reuser, ready to implement the save and retrive filter