add logout url, shorten some variable names