remember the page user came from when he is not logged in and redirect back to the same page