#6, Minor changes with testing to set IsAuthenticated