Updated the sample app to use the hosting