Fixed auth errros