updates HTML render to use new hal+json API
resources can now be created from the HTML frontend