String userName = args[0];
String userPassword = args[1];
String webpage = args[2];
// Create SidewikiService and authenticate using ClientLogin.
SidewikiService service = new SidewikiService("demo-SidewikiEntryFeedDemo-1");
try {
service.setUserCredentials(userName, userPassword);
} catch (AuthenticationException e) {
// Invalid credentials
e.printStackTrace();
return;
}