Controller has now the router as a dependency
It is needed by the redirect method