private forum middleware enhancement