removed debug
dynamodb spike
Added error logging to rest interface