There is no error, this"if condition" always returns false, so i am not able to load the components:
<% if user_signed_in? %>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Account
<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<div class="navbar-content">
<div class="row">
<div class="col-md-7">
<span>User Name</span>
<%= current_user.email %>
<div class="divider">
</div>
<a href="#" class="btn btn-primary btn-sm active">View Profile</a>
<div class="divider">
</div>
</div>
</div>
<div class="navbar-footer">
<div class="navbar-footer-content">
<div class="row">
<div class="col-md-6">
<a href="#" class="btn btn-default btn-sm">Change Password</a>
</div>
<div class="col-md-6">
<%= link_to "Log out", destroy_user_session_path, :method=>'delete', :class => 'class="btn btn-default btn-sm pull-right' %>
</div>
</div>
</div>
</div>
</li>
</ul>
</li>
<% else %>
<li class="dropdown"><%= link_to "Login", new_user_session_path %>
<% end %>