edit: function(id) { appState.setPage('edit', editState(id)); },
lobby: function(id) { appState.setPage('lobby', lobbyState(id)); },
register: function() { appState.setPage('register', registerState()); },
create: function() { appState.setPage('edit', editState()); },
index: function() { appState.setPage('index', indexState()); },