add show and edit page for post