entry = new ServiceFactory();
entry = new ServiceFactory(new Login(userName, "ome"));
    ExperimenterData login(String userName, String password)        throws DSOutOfServiceException    {        System.getProperties().setProperty("omero.user", userName);        //TODO: Remove it asap        System.getProperties().setProperty("omero.pass", "ome");        //System.getProperties().setProperty("omero.pass", password);        try {            entry = new ServiceFactory();             connected = true;            return getUserDetails(userName);        } catch (Exception e) {            connected = false;            String s = "Can't connect to OMERO. OMERO info not valid.";            e.printStackTrace();            throw new DSOutOfServiceException(s, e);          }     }