Added autofocus.
Added login form to logout page.