Fix mongo crud controller