make render context optional
allow first segment of url be dynamic