adding page via json now working