the controller now gets stocks from db