%= link_to "Gringotts Home", main_app.root_path, :class => 'brand' %>
<% if user_signed_in? %>
-
<%= link_to 'Logout', destroy_user_session_path %>
<% else %>
-
<%= link_to 'Login', new_user_session_path %>
<% end %>
<% if user_signed_in? %>
-
<%= link_to 'Edit account', edit_user_registration_path %>
<% else %>
-
<%= link_to 'Sign up', new_user_registration_path %>
<% end %>