Fixed replaceTokenslogoutUrl
Fixed variables