new routing method using controllers