added url for registering device pages, fixed error where cached data was not converted to json before being saved, removed redundant json parsing