add account model and change auth