working on db, not working yet though, do not remove comments in controllers.js