overrided home view and pages controller