enhance backend error handle & rm sweetalert

enhance backend error handle & rm sweetalert