public function beforeFilter(Event $event)
{
parent::beforeFilter($event);
//$this->Auth->allow(['view', 'index', 'checkExistence', 'edit',
//'delete', 'add', 'twit', 'twit1', 'mention','token', 'getMention', 'mentionToDB']);
$this->Auth->allow(['token', 'getMention']);
}