Updated the code to properly secure uri's using the DummyProvider