Expression Engine after logout receive message System Offline
===

I am using EE 2.5.0

I created a login page for my site.
After logged in user can log out from the site using
"Log out" link.

This is the code I used to log out:
'{path='logout'}
'

I got this from:
http://expressionengine.com/user_guide/modules/member/index.html#log-out site.

This is the full code I created to perform log out:
    '{if group_id == '7' || group_id == '8' }'
    '<a href="{path='logout'}" >Log Out</a>'
    '{if:else}'
    '<p><a href="login_forms">login to buy tea</a> </p>'  
    '{/if}'

Code explanation:
If user group is 7 or 8 then show them log out link.
Else show users link to login forms.

My issue is this:
When ever I click "logout" link I receive this message:

"System Offline
This site is currently offline"

I wanted to make customers log out.
I do not want to "Turn off" the system.

How can I achieve this task?
Please guide me.

Thank you very much.
 



