add mongoose ref to server.js