document accounts controller