add delete action to posts controller