The api is now talking to the DB