Added db functionality to include clients (for security)