Updated database module to remove passwords from logs.