renamed the DB callback in server.js