account api almost finished, needs debug. Docs updated