sample app for managing rights by country code