Added controls to edit posts