Fix user auth issue