Clearing logs in app.js
Fixing validate API
TODOs tof validate API