Login and logout divs are now inside "#maincontent" div.