String hostname = JIDUtils.getNodeHost(user_jid);
connection = createUserSession(pc.getElemFrom(), hostname, user_jid);
connection.setSessionId("USER_STATUS");
user_repository.setData(JIDUtils.getNodeID(user_jid), "tokens",
"USER_STATUS", "USER_STATUS");
connection.loginToken("USER_STATUS", "USER_STATUS");
handleLogin(user_jid, connection);
connection.putSessionData("jingle", "active");
addOutPacket(pc.okResult((String)null, 0));
if (presence == null) {
presence =