started database connection