redifined routing, root now machine#index