Create Sample.java

Perform login operation