return the preferences of the user