Adding urlRoot to view options