get rid of unnecessary pages and controllers