updated index route to use one controller