Updated api preauth