add config for cookieParser