refactor persistence en kinbey
kinvey js backend