add access whitelist function

add access white list function