added logout redirect