add isHostAllowed