added basic connection to the db