Adding viewpath to service provider