add in Type attribute on account model