We are working on a project where are 4 roles. But in cakephp 3.x Auth component holds authenticate user data in session with **Auth.User** indexing using

**`$this->Auth->setUser($user);`**

Due to this we are not able to access front-end user account from admin panel for some purpose, because of when we login to front-end user from admin panel, front-end login action performs and over write of session value.

So if there is any process to handle this please suggest us.

Thank you in advance.