fixed some auth errors before new branch