add resources route.