Return a 404 if the profile cannot be found.
Better error response handling.
don't set the function for JSONP, execute it.  And use iolist for strings, sugar.
Added in CORS
cors added.  proper starting of the persistence server so it gets restarted.
Figuring out how to get the rest connection working with credentials and returning the correct (although strange) way of returning from the content_types_provided method.