added partial views and route js logic.