Added additional processing logic to the RegistrationService.js and RegistrationDao.js