Adding webRoot support for resource routing