Hello, <%= @username %>! You are authenticated.
<% else %>You are not yet authenticated. <%= link_to("Login", @login_url) %> <% end %>
» <%= link_to("Go To My Account", :action => 'my_account') %>
<% if @username %>[ <%= link_to("Logout", :action => 'logout') %> ]
<% end %>