I think findAll and findByTitle should add to modes/literaute.js, since search is a controller, no need a searchModel, literatureModel has the literature info, not searchModel