Using auth and factory was causing index battling.