Add client side page privilege check.