You are signed <% if user_signed_in? %> in as <%= current_user.email %>.
<% else %> out. <%= link_to "Sign in", new_user_session_path %> <% end %>