SubmitActions submitActions = new SubmitActions(restClient, user);
try {
// Captcha requester
Captcha c = new Captcha(restClient);
// Check if a captcha is needed for this user
if (c.needsCaptcha(user)) {
// Ask for a new Captcha identification
String iden = c.newCaptcha(user);
// Show the captcha to you
showCaptcha(iden);
// Ask for captcha solution