public void onAddUser(final String name, final int result) {
		//tests if wanted user is already watched or exists in general
		if(result == Client.USER_ALREADY_WATCHED) {
			topbarHint.displayMessage(String.format(ALREADY_WATCHING_STRING, name));
			return;
		} else if(result == Client.USER_INVALID) {
			topbarHint.displayMessage(String.format(INVALID_USER_STRING, name));
			return;
		}
		//creates userpane(with animation) for new user if he exists and is not alreaddy watched
		for(User user : Client.getInstance().getWatchedUsers()) {;
			if(user.getLogin().equalsIgnoreCase(name)) {
				final UserPane newPane = new UserPane(user, this);
				newPane.setOpacity(0);

				final Timeline swipeIn = new Timeline(new KeyFrame(Duration.millis(200), 
						new KeyValue(newPane.layoutXProperty(), USERSP_PADDING_LEFT))
				);

				final Timeline set = new Timeline(new KeyFrame(Duration.millis(50), 
						new KeyValue(newPane.layoutXProperty(), -UserPane.WIDTH))
				);
				set.setOnFinished(new EventHandler<ActionEvent>() {
					@Override
					public void handle(ActionEvent event) {
						newPane.setOpacity(1);
						swipeIn.play();
					}
				});

				set.play();
				upgUserlist.getChildren().add(newPane);
				//displays message noting that added user is now being watched
				if(result != Client.USER_ADD_SILENTLY) {
					topbarHint.displayMessage(String.format(NOW_WATCHING_STRING, user.getLogin()));
				}
			}
		}
	}