adding api/ to routes