public function serialize() { return serialize([$this->id, $this->getUsername(), $this->getPassword()]); }