Added ability for the user to edit posts