social login now redirects to the previous page