chg Login sample