title: Redirect user to previous link after login
body: <p>Question is quite simple. I have a PHP website and whenever a user comes in through a link that requires login, I want user to be redirected to login page and then, after he finish login, I want him to be redirected to link he tried to access when he came into the website.</p>
  
  <p>And that's it...</p>