added an userrelationships model so we no longer rely on an array with data for the provider. Updated the provider and the controller