add the ip whitelist support