Save logs in database and show them in the backend for administrators