add data resource and home page view issue