fixed user auth issue