added the ability to delete post