Fixing the auth issue