added group credentials and data fetching