updated subscriberController.js with latest