general tightening up of the login/logout reporting code, as well as some markup and styling tweaks