add read api and category api