add top page and query page