set up server side routing