Update app.js

Should this aspect of the server be aware of the DB?