bug fix of return url in case of social login