How to check user logged in or not | Cakephp 2.x | Cakephp 3.x