Added local database connection