made it so that the DB is connected