Update README.md

Updated documentation to reflect the correct usage for the availablePermissions method.