 <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
    <div class="navbar-header">
        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#">
            <i class="fa fa-bars"></i>
        </a>
    </div>
    <ul class="nav navbar-top-links navbar-right">
        <li>
            <span class="m-r-sm text-muted welcome-message" style="color: white">Welcome to Maktabti</span>
        </li>
        <li>
            <a href="" onclick="logout()" style="color: white">
                <i class="fa fa-sign-out" ></i> Log out
            </a>
        </li>
    </ul>
</nav>

<script type="text/javascript">
    function logout()
    {
        localStorage.Session="";
        window.location.reload();
    }
</script>  