public function Login($_login, $_password)
 {
     if (!($result = dbManager::Execute("GetUser ('{$_login}', '{$_password}')"))) {
         return false;
     }
     $this->user = new user($result["login"], $result["username"], $result["address"]);
     $this->AssignAvatarPath();
     $this->isUserLoggedIn = true;
     $_SESSION["User"] = $this->user;
     return true;
 }