adding api routes