fixed localhost and prd issue for social callback