More admin login stuff

Dynamic logout button on index page and logout.