Fixed auth compile error