public int login(String name, String password)
	{
		if (!users.containsKey(name))
			return -1;
		if (!users.get(name).getPassword().equals(password))
			return -2;
		Trader t = users.get(name);
		if (active.contains(t))
			return -3;

		active.add(t);
		t.openWindow();
		if (!t.hasMessages())
			t.receiveMessage("Welcome to SafeTrade!");
		return 0;
	}