@Nullable
    public static String getUsername(@NonNull final String page) {
        String username = TextUtils.getMatch(page, GCConstants.PATTERN_LOGIN_NAME1, null);
        if (StringUtils.isNotBlank(username)) {
            if (username.contains("\\")) {
                username = StringEscapeUtils.unescapeEcmaScript(username);
            }
            return username;
        }

        //second try
        username = TextUtils.getMatch(page, GCConstants.PATTERN_LOGIN_NAME2, null);
        if (StringUtils.isNotBlank(username)) {
            return username;
        }

        // Old style webpage fallback // @todo: no longer existing?
        final Document document = Jsoup.parse(page);
        final String usernameOld = TextUtils.stripHtml(document.select("span.li-user-info > span:first-child").text());

        return StringUtils.isNotEmpty(usernameOld) ? usernameOld : null;
    }
Merge log entries and mark them as friends logs (personal and friends) to identify
them on friends/personal logs tab.

@param mergedLogs  the list to merge logs with
@param logsToMerge the list of logs to merge
main/src/main/java/cgeo/geocaching/connector/gc/GCParser.java