added log_entry entity and tests