bugfix: need to connect to the db inside each request

for some reason the connection doesn't persist properly using this old school db library