add api docs
fixed router