modified some auth and kunde things