function updateUserInfo(data){
	$("#username").html("").hide();
	$("#balance").html("").hide();
	if(!data.is_authenticated || data.errors.invalid_session != null){
		return;
	}
	if(data.i18nMap.username != null) {
		$("#username").html(data.i18nMap.username).show();
	}
	if(data.i18nMap.balance != null) {
		$("#balance").html(data.i18nMap.balance).show();
	}
}

