added delete option for posts