Added missing "$this->userPassword = $userPassword;" in DatabaseConfig
constructor