add logout redirect & mod static