<html>
 <head>
 <title>My First Ruby App</title>
 </head>
 <body>
 <table>
 <tr><td>
<%= render_component(:controller => "notes", :action => "list") %>
</td>
<% if @session['user'].nil? %>
<td>
<%= render_component(:controller => "user", :action => "login") %>
</td>
<% end %>
</tr>
 </body>
 </html>