Add styling to the login report and clean up code.