adding server-side routing