public function clearRememberCookie()
    {
        //clear cookies
        $options = $this->userOptions->getLoginOptions();
        if (isset($_COOKIE[$options->getRememberCookieName()])) {
            unset($_COOKIE[$options->getRememberCookieName()]);
            setcookie($options->getRememberCookieName(), '', time() - 3600, '/');
        }
    }