logout redirect correction