corrected auth errors