removes a post when a user clicks a delete link