add routes for preview