edited addPlayer to add a player to the playerview.