hooked up DB to /names/all endpoint