public function login($username, $password)
    {
        $this->execute("login", array("client_login_name" => $username, "client_login_password" => $password));
        $this->whoamiReset();

        $crypt = new Crypt($username);

        $this->setStorage("_login_user", $username);
        $this->setStorage("_login_pass", $crypt->encrypt($password));

        Signal::getInstance()->emit("notifyLogin", $this);
    }