private synchronized Host createSystemHost() throws DotDataException,
DotSecurityException {
SQLQueryFactory factory = new SQLQueryFactory("SELECT * FROM Host WHERE isSystemHost = 1");
List<Map<String, Serializable>> hosts = factory.execute();
User systemUser = APILocator.getUserAPI().getSystemUser();
if(hosts.size() == 0) {
Host systemHost = new Host();
systemHost.setDefault(false);
systemHost.setHostname("system");