How to retrieve user id and email using session in laravel ?

In this tutorial im going to learn how to retrieve user id and user email using session in laravel. First go to LoginController and put below code…