fixed post links, implemented post edit