document API account info and logout