adding leading slash for routes in the server.