fixed logout redirect