starting the database connection