fixed db issue. webconfig is now generic