Unity input system Problem instantiating on mouse click

Hi, I was trying to use unity input system and I used the player input manager component so the player can join when a button is pressed it worked but the problem is when I press on my keyboard it instantiates the player, but when I press on my mouse it instantiates another player.

Provide a code example if you can i beleive theres a way to assign which button does what so you can check why both the mouse and keyboard are the same. Check a tutorial on youtube about assigning keybinds on unity