-add base context
-adapt services urls to be relative