fix auth and testing