* move getUserPrefs into Api and use the new framework for it