[cogenda-web] - Code refactor, add api for private resources