<!DOCTYPE html>
<html>
<head>
  <title>LearningConnect</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class="navbar navbar-fixed-top navbar-default">
  <ul class="nav navbar-nav">
    <li><%= link_to 'Learning Connect', root_path, class: 'navbar-brand' %></li>
  </ul>
  <ul class="nav navbar-nav navbar-right">
    <li><%= link_to 'Log in', new_user_session_path %></li>
    <li><%= link_to 'Log out', destroy_user_session_path ,method:"delete"%></li>
    <li><%= link_to 'Sign Up', new_user_session_path %></li>
  </ul>
  </nav>
  <div class="container">
    <p class="notice"><%= notice %></p>
    <p class="alert"><%= alert %></p>

    <%= yield %>
  </div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>LearningConnect</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class="navbar navbar-fixed-top navbar-default">
  <ul class="nav navbar-nav">
    <li><%= link_to 'Learning Connect', root_path, class: 'navbar-brand' %></li>
  </ul>
  <ul class="nav navbar-nav navbar-right">
    <% if user_signed_in? %>
      <li><%= link_to 'Log out', destroy_user_session_path ,method:"delete"%></li>
    <% else %>
      <li><%= link_to 'Log in', new_user_session_path %></li>
      <li><%= link_to 'Sign Up', new_user_session_path %></li>
    <% end %>
  </ul>
  </nav>
  <div class="container">
    <p class="notice"><%= notice %></p>
    <p class="alert"><%= alert %></p>

    <%= yield %>
  </div>
</body>
</html>

Make log in log out signup logic
Make log in log out signup logic
