Added secured resource code sample