Combined common layout of login and logout.
Added exit commands after Location: headers to prevent sending
the rest of the page on a redirect.
added the css to the repo, modified login and logout