anchor.diff:                       <li><a href="#contact">Contact</a></li>
                     </ul>
   
  -                  <form class="navbar-form pull-right">
  -                     <input class="span2" type="text" placeholder="Email">
  -                     <input class="span2" type="password" placeholder="Password">
  -                     <button type="submit" class="btn">Sign in</button>
  -                  </form>
  +                  <p class="navbar-text pull-right">
  +                     <c:choose>
  +                        <c:when test="${user != null}">
  +                           <c:set var="user" scope="page" value="${user}"/>
  +                           Welcome ${fn:escapeXml(user.nickname)}!
  +                           <a href="<%= userService.createLogoutURL(request.getRequestURI()) %>">Sign out</a>
  +                        </c:when>
  +                        <c:otherwise>
  +                           Welcome anonymous!
  +                           <a href="<%= userService.createLoginURL(request.getRequestURI()) %>">Sign in</a>
  +                        </c:otherwise>
  +                     </c:choose>
  +                  </p>
   
                  </div><!--/.nav-collapse -->
               </div>
  
positive.code: <%@ page contentType="text/html;charset=UTF-8" %>
  
  <!DOCTYPE html>
  <html lang="en">
  
     <head>
        <meta charset="utf-8">
        <title>Γνωμικά</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
  
negative.code:                   <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                 </a>
                 <a class="brand" href="#"><em>&ldquo;γνωμικά&rdquo;</em></a>
                 <div class="nav-collapse collapse">
                    <ul class="nav">
                       <li class="active"><a href="#">Home</a></li>
  