bug fix for change password
fixed update password error, added getEntity method