adding database configuration