fix post edit; add route for posts/new