merge patch on UI
add missing Patient destroy
update view record UI
fix login return json for html format when failed