Add delete post function