Small correction to login/out link in header to select correct class based on login state

Plus cleanup of syntax/indentation in footer