fixed and add feature
PermissionsCheck Class