change the way to route controllers