updated index route to use one controller in response