Fixed auth problem