implemented function GetUserProfiles