$user = $this->Auth->identify(); returning false value plz help me

$user = $this->Auth->identify(); returning false value plz help me

AuthexsController code

class AuthexsController extends AppController{
//var $components = array(‘Auth’);
public function index(){
}
public function login(){
if($this->request->is(‘post’)){
$user = $this->Auth->identify();
if($user){
$this->Auth->setUser();
?><?php
}
?><?php
}
}
}

AppController Code…

class AppController extends Controller{
public function initialize(){
parent::initialize();
$this->loadComponent(‘RequestHandler’);
$this->loadComponent(‘Flash’);
$this->loadComponent(‘Auth’, [
‘loginAction’ => [‘controller’ => ‘Authexs’, ‘action’ => ‘login’],
‘authError’ => ‘Did you really think’,
‘authenticate’ => [
‘Form’ => [
‘fields’ => [‘username’ => ‘username’, ‘password’ => ‘password’],
]
],
‘loginAction’ => [‘controller’ => ‘Authexs’, ‘action’ => ‘login’],
‘loginRedirect’ => [‘controller’ => ‘Authexs’, ‘action’ => ‘index’],
‘logoutRedirect’ => [‘controller’ => ‘Authexs’, ‘action’ => ‘login’]
]);
$this->Auth->config(‘authenticate’, [
AuthComponent::ALL => [‘userModel’ => ‘users’], ‘Form’]);
}
public function beforeRender(Event $event){
if (!array_key_exists(’_serialize’, $this->viewVars) &&
in_array($this->response->type(), [‘application/json’, ‘application/xml’])) {
$this->set(’_serialize’, true);
}
}
}

working fine
thank you