added the controller with get params