switch to one cb for checkprofilepermission