routes and redirect for clear cache