added change password function to setting api