Parsed 400 response from server and showed proper error message on front end