router is now instantiated in the controller