added set password api