Logging.
Fix email hashing bug.