added action delete post from frontend