diff --git a/wunderbar.module b/wunderbar.module
index 00fc14a..44ad923 100644
--- a/wunderbar.module
+++ b/wunderbar.module
@@ -177,7 +177,7 @@ function wunderbar_page_alter(&$page) {
   );
   global $user;
   if ($user->uid != 0) {
-    $user_btn = check_plain($user->name) .' ('. l(t('logout'), 'logout', array('attributes' => array('alt' => t('logout'), 'title' => t('logout')))) .')';
+    $user_btn = check_plain($user->name) .' ('. l(t('logout'), 'user/logout', array('attributes' => array('alt' => t('logout'), 'title' => t('logout')))) .')';
   }
   else {
     $user_btn = l(t('login'), check_plain(variable_get('wunderbar_user_link', 'user')), array('attributes' => array('alt' => t('login'), 'title' => t('login'))));
