tidying up interactions with DB - extra code to use in getSoundCloudData