// log in to the session
session.login(loginControl.getLoginParameters());
// the session was created successfully. Add it to our list of
// sessions, and add a listener to remove it when it disconnects
session.addSessionStatusListener(new SessionStatusListener() {
public void sessionStatusChanged(WonderlandSession session,
Status status)
{
synchronized (ServerSessionManager.this) {
if (status.equals(Status.DISCONNECTED)) {