Added Permissions and Enabled Logging on Example App