@Override
public void onClick(ClickEvent event) {
bus.fireEvent(new LogoutEvent());
}
});
bus.addHandler(RpcBeginEvent.TYPE, new RpcBeginEventHandler() {
@Override
public void onRpcBegin(RpcBeginEvent event) {
concurrentRpcs++;
view.toggleLoading(true);
}