updated code to work with the DEV/OTE registration service
updated examples