Add extra info to resource representation. Add a better CORS management
Fixed conflict