if prefs are null in db, don't return {} on getPrefs (#8)
currently if you haven't putPreferences at all you break social-app,
since it expects response.preferences to always be present
authored by charlotte ✨ and committed by GitHub e29f103c affaa58b