public boolean userLogin(User current_user,String name, String password){
		User root = loadRootUser();
		try {
			des = new EncryptionDecryption(key);
			if(root != null && root.getName().equals(name) && 
					des.decrypt(root.getPassword()).equals(password)){
				current_user.setName(name);
				current_user.setPassword(password);
				current_user.setLogin(true);
			}
			else{
				JOptionPane.showMessageDialog(null,
						"登录失败(密码或用户名错误)", "提醒", JOptionPane.ERROR_MESSAGE);
				return false;
			}
		} catch (Exception e) {
			return false;
		}
		return true;
	}