auth modal - handle error response