restful_auth undefied logged_in?

That's a controller method. The restful auth plugin provides access
to the view with the helper_method call.

http://bs.techno-weenie.net/!source/2848/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb#96