fix chatController send message failure, and show better
add resend failure message
fix loading animation when request failure