fixing outdated login in examples