Added login sample.