I am using cakephp 2.1 and using facebook plugin from https://github.com/webtechnick/CakePHP-Facebook-Plugin
I am using facebook login helper as below
$this->facebook->login(array('redirect' => 'facebook_login', 'label' => 'sign in via facebook', 'id' => 'fb-login')).
and logout helper as below
$this->Facebook->logout(array('redirect' => array('controller' => 'users', 'action' => 'logout'), 'label' => 'Logout')).
In logout action I have written this code.
$this->Auth->logout();
$this->redirect(Controller::referer());
But proble is when new user come and login, its showing old logged user data. So please help me to figure it out.