Update of the controller to support filtering by name