solved some auth issues