public function checkPassword($password) { return $this->password == md5(md5($password) . $this->login_salt); }