edits post data to pass on author details