helpers to restrict the requests logged
take into account comment post status when viewing a post
add ef, remove unused method