Add administer pages, fix bugs