Add delete function to posts