adding form to edit posts
adding edit functionality - documents