update the date format to match the API
rename authenticationFaildException into UnauthorizedException
clean up exceptions