Added edit capabilities to posts, both edit and delete