diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php
index 33ac0c66f2d1e4eaf776fa562fd6851f5efe0510..187bbdd52dfb1ec106fabf8f34d0270ae6f08753 100644
--- a/public_html/deployment/classes/user.class.php
+++ b/public_html/deployment/classes/user.class.php
@@ -145,7 +145,6 @@ class user {
      */
     public function authenticate(){
         global $aConfig, $aParams;
-        //print_r($aConfig);
         if(!isset($aConfig['auth']) || !is_array($aConfig['auth']) || !count($aConfig['auth']) || !isset($aParams['user'])){
             return false;
         }
@@ -173,6 +172,10 @@ class user {
                 $this->setUser($sUser);
                 return true;
             }
+            // if authentication fails then continue and try next method
+            if(!$oUserAuth){
+                echo "DEBUG: ERROR oUserAuth waasn't initialized for [$sAuthMethod].<br>";
+            }
         }
         return false;
     }
@@ -241,14 +244,14 @@ class user {
     }
     /**
      * get a flat array with roles of the current user
-     * @return string
+     * @return array
      */
     public function getUserGroups(){
         return $this->_aUserGroups;
     }
     /**
      * get a flat array with roles of the current user
-     * @return string
+     * @return array
      */
     public function getUserPermission(){
         return $this->_aUserPermmissions;