client side routing for spa added