Problem with multiplayer

I want each client to get its own movable unit (not the player character, the player character is the camera). For that i added in my player controller this code:

the cubes spawn correct, and they replicate correctly. But now i want the unit to move to the cursor of the client that “requested” the spawn.

For that i made the following:

The problem now is that the host client cant move any actor, and the joining client moves both. How can i make each client only move the actor that he requested from the server in his beginplay