added view rendering based on url changing
Merge branch 'ray'