[mod]add a new example and auto_login api