Add models/log.js
brush up