add user api
update docs