added api/ to all the api calls