wwm.lobby = (function (){
	var jqMap;
	var userInfo;
	function setJqMap ($container) {
		jqMap = {
			$container: $container,
			$showCreateroom: $container.find('#show-createroom-modal'),
			$searchroomBtn: $container.find('#searchroom-btn'),
			$logout: $container.find('#logout-btn')
		};
	}
	function initModule ($container) {
		userInfo = JSON.parse(localStorage.login);
		var src = $('#wwm-lobby').text();
		dust.render(dust.loadSource(dust.compile(src)), {
			name: userInfo.username
		}, function(err, out) {
			$container.html(out);
		}
		setJqMap($container);
		jqMap.$showCreateroom.click(showCreateroom);
		jqMap.$searchroomBtn.click(onSearchRoom);
		jqMap.$logout.click(onLogout);
	}
	function showCreateroom () {
		wwm.modal.initModule($('#wwm-createroom'));
	}
	function onSearchRoom () {
	
	}
	function onLogout() {
		localStorage.removeItem('login');
		location.href = '/logout';
	}
	return {
		initModule: initModule
	};
}());

@@ -563,16 +563,29 @@
 ainer);%0A
+%09%09getList();%0A
 %09%09jqMap.
@@ -619,24 +619,24 @@
 reateroom);%0A
-
 %09%09jqMap.$sea
@@ -796,27 +796,225 @@
 ion 
-onSearchRoom () %7B%0A%09
+getList() %7B%0A%09%09$.get('/roomlist').done(function(res)%7B%0A%09%09%09%0A%09%09%7D);%0A%09%7D%0A%09function changeList(data) %7B%0A%09%09%0A%09%7D%0A%09function onSearchRoom (query) %7B%0A%09%09$.get('/search', %7B%0A%09%09%09query: query%0A%09%09%7D, function(res) %7B%0A%09%09%09changeList(res);%0A%09%09%7D);
 %0A%09%7D%0A

Update wwm.lobby.js