add resources to routes