fixed auth issues