adding getStoredUserProfiles + upgrading example functionality