public Card(JPanel parent, Map<String, String>  user)
	{	
		username = user.get("username");
		setLayout(new GridLayout(1,2));

		
		String path = "suit.jpg";
		URL imgURL = Main.class.getResource(path);
		ImageIcon icon = new ImageIcon(imgURL);

		JLabel l=new JLabel();
		l.setIcon(icon);
		add(l);
		add(new JLabel(user.get("username")));
		if (!View._model.user_role.equals("civilian")) {
			addAction(btn, user.get("userid"));
			add(btn);
		}
		vouting(vote,user.get("username"));
		
		vote.setEnabled(false);
		add(vote);

		parent.add(this);
	}