linked MainActivity to data source through REST api