Now connecting to db.