replaced sample_app with app in wsgi and removed scopes in resources view