@Override
	public boolean newUser(String userName, String password, int sentBy) {
		boolean retVal = false;
		System.out.println("register: " + userName + ", " + password);
		retVal = db.register(userName, password);
		if((sentBy == ServerInterface.CLIENT) && (backupServer != null)) {
			try {
				backupServer.ping();
				backupServer.newUser(userName, password, ServerInterface.SERVER);
			} catch(Exception ex) {
				System.out.println("backup Server not responding");
				resetBackupServer();
			}
		}
			
		
		return retVal;
	}