<% if current_user %>
<% if @main_room %> <%= t('logged_in_description_html', link: link_to(current_user.name, room_path(current_user))) %> <% else %> <%= link_to(t('return_to_room'), room_path(current_user)) %> <% end %>
<%= link_to t('logout'), user_logout_url %>
<% else %>
<%= t('login_description') %>
<%= link_to t('login'), user_login_url %>
<% end %>