implement pagination for listing.
ensure doctype on the first line.
fix typo.