export to csv and set routes for users