made database connections