title: after login, redirect to last visited page of the user's last session?
body: <p>I have a login form.
  I want that when a user login in its account then he gets
  redirected to the last page that he visited before logging out
  in his last signed in session.</p>
  
  <p>Plz help me with code and ideas since i am a beginner.</p>