public static int regUser(String pwd,String nikeName){
		//һ,ûעjk
		if(userDB.size()>0){
		 //ȡעjkŵֵ
		 maxJKNum=java.util.Collections.max(userDB.keySet());
		}
		 maxJKNum++;
		UserInfo user=new UserInfo(maxJKNum);
		user.setPwd(pwd);
		user.setNikeName(nikeName);
		//ûĬϷ
		TeamInfo team=new TeamInfo(0,"ҵĺ",user);
		user.addTeams(team);//;
		userDB.put(maxJKNum, user);
		saveDB();//洢ļ
		return maxJKNum;
	}