changed authFields back to its own class