<% if current_user %>
<%= t(:hello_user) %>, <%= link_to current_user.email, account_path %> |
<%= link_to t('logout'), destroy_user_session_path, {:id => 'log_out_link'} %>
<% else %>
<%= t(:hello_user) %>, <%= link_to t('log_in'), "#login", {"data-toggle" => 'modal'} %>.
<% end %>