added environment variable for RegistrationResource class