structure and logout in intranet