<% if user_signed_in? %>
  • <%= link_to "Missions", missions_path %>
  • <% else %>
  • <% link_to "About", start_about_path %>
  • <% end %>
    <% if user_signed_in? %>
  • <% if current_user.username %> <%= current_user.username %> <% else %> <%= current_user.email %> <% end %>
    • <%= link_to 'Agent Profile', agent_profile_path(current_user) %>
    • <%= link_to 'Edit Account', edit_user_registration_path %>
    • <%= link_to "Logout", destroy_user_session_path, method: :delete %>
  • <% else %>
  • <%= link_to "Login", new_user_session_path %>
  • <%= link_to "Sign Up", new_user_registration_path %>
  • <% end %>