Added the index route with the a transition to method on the before model hook