/**
  * Validates the cookies
  *
  * @return bool True if the cookies are valid
  */
 public function validCookies()
 {
     if ($this->cookiesAreSet()) {
         $user = new User($_COOKIE[self::$cookieName], $_COOKIE[self::$cookiePassword]);
         return self::$LoginModel->checkCredentialForSavedUser($user);
     }
     return false;
 }