changed pages controller for slug, admin layout sql dump