I'm trying to add a login box only in home page. Of course, it should disappear when a customer is logged in. So I put this layout update in the home page, but it doesn't work:
<customer_logged_out>
<reference name="header">
<block type="customer/form_login" name="header_customer_form_mini_login" template="customer/form/toplink-login-custom.phtml"/>
</reference>
</customer_logged_out>
It works only:
<reference name="header">
<block type="customer/form_login" name="header_customer_form_mini_login" template="customer/form/toplink-login-custom.phtml"/>
</reference>
But, of course, the box is shown when the customer is logged too.