added preferences to the account model