<commit_before><nav class="navbar navbar-default">

    <div class="container-fluid">
        
        <div class="navbar-header">
            <!-- Brand and toggle get grouped for better mobile display -->
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#" style="padding: 10px;">
                <img alt="Brand" src="/img/libra-sign.png" style="height:30px; width:30px;">
            </a>
        </div>
        
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <%if (locals.user) { %>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <img src="http://placehold.it/24x24" class="profile-image img-circle"> <%- user.name %> <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">My Profile</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">Logout</a></li>
                        </ul>
                    </li>
                <%} else { %>
                    <li><a href="/login">Signin</a></li>
                    <li><a href="#">Register</a></li>
                <%}%>
                <li><a href="#">About</a></li>
            </ul>
        </div>

  </div>

</nav><commit_msg>Implemented logout function<commit_after><nav class="navbar navbar-default">

    <div class="container-fluid">
        
        <div class="navbar-header">
            <!-- Brand and toggle get grouped for better mobile display -->
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#" style="padding: 10px;">
                <img alt="Brand" src="/img/libra-sign.png" style="height:30px; width:30px;">
            </a>
        </div>
        
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <%if (locals.user) { %>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <img src="http://placehold.it/24x24" class="profile-image img-circle"> <%- user.name %> <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">My Profile</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li role="separator" class="divider"></li>
                            <li><form id="logoutform" method="post" action="/api/users/logout">
                                <a onclick="document.getElementById('logoutform').submit();">Logout</a>
                            </form></li>
                            
                        </ul>
                    </li>
                <%} else { %>
                    <li><a href="/login">Signin</a></li>
                    <li><a href="#">Register</a></li>
                <%}%>
                <li><a href="#">About</a></li>
            </ul>
        </div>

  </div>

</nav>
{'fraction_non_alphanumeric': 0.17517084282460138, 'fraction_numerical': 0.005466970387243736, 'mean_word_length': 1.4654688377316114, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1665983', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1141, 'n_words': 226}