For you to be informed: watch condition above (I mean this: `<!-- IF S_USER_LOGGED_IN -->`). So link will for sure be always only logout link. And logout link does not accept `redirect` parametre, nor uses it to redirect user. This means that removed part is totally unnecessary. This is why it was removed, not wrapped to condition.