change request response to be 400 if it wasn't successful instead of having to check for {success: boolean}