added config for database connection