<!DOCTYPE html>
<html>
<head>
  <title>Suggestion Box</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <% if current_user %>
  <nav class="container">
    <div class="col-md-12">
      <div class="pull-right">
        Hello <%= current_user.name %>
      </div>
    </nav>
  </div>
  <% end %>
  <%= yield %>
  <% if not current_user %>
  <footer class="container">
    <div class="col-md-12">
      <div class="pull-left">
        <small>Internal user ?</small>
        <small><%= link_to 'Login Here', login_path %></small>
      </div>
    </div>
  </footer>
  <% end %>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>Suggestion Box</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <% if current_user %>
  <nav class="container">
    <div class="col-md-12">
      <div class="pull-right">
        <button type="button" class="btn btn-default dropdown-toggle"
        data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
     <%= current_user.name %> <span class="caret"></span>
   </button>
   <ul class="dropdown-menu">
     <li><%= link_to 'Log out', session_destroy_path %></li>
   </ul>
      </div>
    </nav>
  </div>
  <% end %>
  <%= yield %>
  <% if not current_user %>
  <footer class="container">
    <div class="col-md-12">
      <div class="pull-left">
        <small>Internal user ?</small>
        <small><%= link_to 'Login Here', login_path %></small>
      </div>
    </div>
  </footer>
  <% end %>
</body>
</html>

Add dropdown with log out link on it
Add dropdown with log out link on it
