Fixed login/logout links
added alert placement in the layout page.