added api for change password