Check for error response codes in REST calls
Merge branch 'AddUserErrorHandling'