Add logging for hash verification and registration