can now edit posts, still some things to refine