add api namespace to routes