Added AuthCodeError and Error Responses