code cleanup and add (only) creator access to post edit