@Override
	public boolean login(String userName, String password, ClientInterface clientObject, int sentBy) {
		
		if (!db.checkUser(userName, password)) {
			System.out.println("falscher Username oder falsches Passwort");
			return false;
		}
		
		
		_userStore.put(userName, clientObject);
		this.notifyUserListChanged();

		
		if((sentBy == ServerInterface.CLIENT) && (backupServer != null)) {
			try {
				backupServer.ping();
				backupServer.login(userName, password, clientObject, ServerInterface.SERVER);
			} catch(Exception ex) {
				System.out.println("backup Server not responding");
				resetBackupServer();
			}
		}
		
		return true;
	}