add json editor
improvements to support http auth