modify registration urls
add json support for blog