hooked the db to mvc