delete useless front end pages and resources