added log entity
added and setup log controller with one log in getExternalExampleCode
and the LogController