<%= if @current_user do %>
- <%= @current_user.email %>
- <%= link "Settings", to: Routes.user_settings_path(@conn, :edit) %>
- <%= link "Log out", to: Routes.user_session_path(@conn, :delete), method: :delete %>
<% else %>
- <%= link "Register", to: Routes.user_registration_path(@conn, :new) %>
- <%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
<% end %>