delete post connect to model