render route endpoint