Create registrationValidator.js