setup edit page, post page, and nav