Delete function on post and articles