removed defineModule & added resource call for page data