add api routes