redirects to last page after github Login