try {
                    $this->id = $cookie[0];
                    $this->recordLogin();
                } catch (Exception $e) {
                    global $Error;