Still trying to figure out the db connection