fix some bugs of add-page
add API for index-page
add API for show-pahe