protected function getContactData()
 {
     if (!$this->author->isAuth()) {
         throw new waException(_w('Access denied'));
     }
     return parent::getContactData();
 }
 protected function getResponseAuthorData()
 {
     if ($this->author->isAuth()) {
         return parent::getResponseAuthorData();
     } else {
         $author = array('name' => $this->added_comment['name'], 'email' => $this->added_comment['email'], 'site' => $this->added_comment['site']);
         if ($this->added_comment['auth_provider'] != 'guest') {
             $author['photo'] = photosCommentModel::getAuthProvoderIcon($this->added_comment['auth_provider']);
         } else {
             $author['photo'] = $this->author->getPhoto(photosCommentModel::SMALL_AUTHOR_PHOTO_SIZE);
         }
         return $author;
     }
 }