Make out logout redirect more generic