added accounts controller and more tests to account model