private static function rememberMe(array $authConfig, $user, $number_of_days = 14)
    {
        $key = static::getFields($authConfig, true);
        $token = encrypt($user->$key);

        setcookie('remember_token', $token, time() + (86400 * $number_of_days));
    }