add logging; only do one select that fetches all posts