added var Assessment = require('../models/assessment'); to correct place