return json when signout request is successful so that frontend can get redirect url with res?.redirect_url on signout