fixed master_auth and fixed editPass