Refactoring page loading and moving 404/500 from fragments to page as it makes more sense