add login sample