add the java session