I'm having problems with an if, elsif, else statment in html.erb. I've seen a lot of questions around the if/else statements in erb but none that include elsif so I thought I'd ask for help.

Here is my html.erb:

```
<% if logged_in? %>

          <ul class = "nav navbar-nav pull-right">
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              Account <b class="caret"></b>
            </a>

          <ul class="dropdown-menu pull-right">
                  <li><%= link_to "Profile", current_user %></li>
                  <li><%= link_to "Settings", edit_user_path(current_user) %></li>
                  <li class="divider"></li>
                  <li>
                    <%= link_to "Log out", logout_path, method: "delete" %>
            </li>
          </ul>
          </li>
        </ul>

     <% elsif has_booth?(current_user.id) %>

      <ul>

        <li>TEST</li>

      </ul>

<% else %>
        <ul class="nav navbar-nav pull-right">
          <li><%= link_to "Sign Up", signup_path %></li>
          <li><%= link_to "Log in", login_path %></li>
        </ul>
      <% end %>

```

Here is my has\_booths method:

```
module BoothsHelper

def has_booth?(user_id)
  Booth.exists?(user_id: user_id)
end 

end

```

I would like the header nav to have three different types of content for different users. The logged in user, the logged in user that has created a booth, and the logged out user. So far, I can only seem to make 2 out of the three work. I tried changing 

```
<% elsif has_booth?(current_user.id) %>

```

to 

```
<% elsif logged_in? && has_booth?(current_user.id) %>

```

and that did not work either. Am I writing my statement correctly? Any thoughts appreciated. Thanks.